# -*- coding: utf-8 -*-
"""
Created on Mon Oct  7 17:17:28 2020

@author: Erfan
"""
from __future__ import print_function, division
import numpy as np
import time
from casadi import *
import scipy.linalg
from Model import *
from Parameters import *
from Pre_Jacobian import F1,F2


def linear_calculation(x_pre,u_pre,b,a,kc,et):
     
    E1=time.time()  
    A=F1(x_pre,u_pre,b,a,kc,et)
    E2=time.time()-E1
    print('The continuious time model takes',E2,' seconds to compute')

    return A
    
    